package com.test08.excelpoi05;


public class FileldEntity {
	private String date;
	private String fromUser;
	private String fromPhone;
	private String fromAddr;
	
	private String toUser;
	private String toPhone;
	private String toAddr;
	
	private String goodsName;
	private String goodsNum;
	private String goodsNo;
	
	
	private String acceptUser;
	private String mark;
	
	
	
	
	public String getDate() {
		return date;
	}
	public void setDate(String date) {
		this.date = date;
	}
	public String getFromUser() {
		return fromUser;
	}
	public void setFromUser(String fromUser) {
		this.fromUser = fromUser;
	}
	public String getFromPhone() {
		return fromPhone;
	}
	public void setFromPhone(String fromPhone) {
		this.fromPhone = fromPhone;
	}
	public String getFromAddr() {
		return fromAddr;
	}
	public void setFromAddr(String fromAddr) {
		this.fromAddr = fromAddr;
	}
	public String getToUser() {
		return toUser;
	}
	public void setToUser(String toUser) {
		this.toUser = toUser;
	}
	public String getToPhone() {
		return toPhone;
	}
	public void setToPhone(String toPhone) {
		this.toPhone = toPhone;
	}
	public String getToAddr() {
		return toAddr;
	}
	public void setToAddr(String toAddr) {
		this.toAddr = toAddr;
	}
	public String getGoodsName() {
		return goodsName;
	}
	public void setGoodsName(String goodsName) {
		this.goodsName = goodsName;
	}
	public String getGoodsNum() {
		return goodsNum;
	}
	public void setGoodsNum(String goodsNum) {
		this.goodsNum = goodsNum;
	}
	public String getGoodsNo() {
		return goodsNo;
	}
	public void setGoodsNo(String goodsNo) {
		this.goodsNo = goodsNo;
	}
	public String getAcceptUser() {
		return acceptUser;
	}
	public void setAcceptUser(String acceptUser) {
		this.acceptUser = acceptUser;
	}
	public String getMark() {
		return mark;
	}
	public void setMark(String mark) {
		this.mark = mark;
	}
	public void set(int i,String value){
		switch (i) {
		case 0:
			this.setDate(value);
			break;
		case 1:
			this.setFromUser(value);
			break;
		case 2:
			this.setFromPhone(value);
			break;
		case 3:
			this.setFromAddr(value);
			break;
		case 4:
			this.setToUser(value);
			break;
		case 5:
			this.setToPhone(value);
			break;
		case 6:
			this.setToAddr(value);
			break;
		case 7:
			this.setGoodsName(value);
			break;
		case 8:
			this.setGoodsNum(value);
			break;
		case 9:
			this.setGoodsNo(value);
			break;
		case 10:
			this.setAcceptUser(value);
			break;
		case 11:
			this.setMark(value);
			break;
		default:
			break;
		}
	}
	public String get(int i){
		switch (i) {
		case 0:
			return this.getDate();
		case 1:
			return this.getFromUser();
		case 2:
			return this.getFromPhone();
		case 3:
			return this.getFromAddr();
		case 4:
			return this.getToUser();
		case 5:
			return this.getToPhone();
		case 6:
			return this.getToAddr();
		case 7:
			return this.getGoodsName();
		case 8:
			return this.getGoodsNum();
		case 9:
			return this.getGoodsNo();
		case 10:
			return this.getAcceptUser();
		case 11:
			return this.getMark();
		default:
			return "";
		}
	}
	
	
	
	@Override
	public String toString() {
		return "FileldEntity [date=" + date + ", fromUser=" + fromUser + ", fromPhone=" + fromPhone + ", fromAddr="
				+ fromAddr + ", toUser=" + toUser + ", toPhone=" + toPhone + ", toAddr=" + toAddr + ", goodsName="
				+ goodsName + ", goodsNum=" + goodsNum + ", goodsNo=" + goodsNo + ", acceptUser=" + acceptUser
				+ ", mark=" + mark + "]";
	}
	
	
}
